2manhua.sited.xmlconst fs = require('fs'),
    DOMParser = require('xmldom').DOMParser,
    getTagContent = require('./dbSource').getTagContent,
    util = require('util');

fs.readFile(__dirname + '/../file/Hentai2W.sited.xml', function(err, data) {
    let xml = data.toString();
    const doc = new DOMParser().parseFromString(xml);
    // console.log(doc);
    //console.log(doc.childNodes);
    let guid = getTagContent(doc, 'guid');
    console.log(guid.toString());
    console.log(typeof doc);

});